package com.easondongh.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author EasonDongH
 * @date 2020/5/26 8:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bus_provider")
public class Provider implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 供应商名称
     */
    @TableField(value = "provider_name")
    private String providerName;

    @TableField(value = "zip")
    private String zip;

    @TableField(value = "address")
    private String address;

    /**
     * 联系人
     */
    @TableField(value = "connection_person")
    private String connectionPerson;

    @TableField(value = "phone")
    private String phone;

    /**
     * 开户行
     */
    @TableField(value = "bank")
    private String bank;

    @TableField(value = "account")
    private String account;

    @TableField(value = "email")
    private String email;

    @TableField(value = "enable")
    private Integer enable;

    @TableField(value = "remark")
    private String remark;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_PROVIDER_NAME = "provider_name";

    public static final String COL_ZIP = "zip";

    public static final String COL_ADDRESS = "address";

    public static final String COL_CONNECTION_PERSON = "connection_person";

    public static final String COL_PHONE = "phone";

    public static final String COL_BANK = "bank";

    public static final String COL_ACCOUNT = "account";

    public static final String COL_EMAIL = "email";

    public static final String COL_ENABLE = "enable";

    public static final String COL_REMARK = "remark";
}